
import { http, ajhttp } from '@/utils/http'

/**
 * 获取余额明细列表
 */
export const balanceRecords = (data) => {
  return ajhttp({
    method: 'GET',
    url: `/system/finance/balanceRecords`,
    data
  })
}

/**
 * 获取收益明细列表
 */
export const incomeRecords = (data) => {
  return ajhttp({
    method: 'GET',
    url: `/system/finance/incomeRecords`,
    data
  })
}

/**
 * 获取提现记录
 */
export const withdrawRecords = (data) => {
  return ajhttp({
    method: 'GET',
    url: `/system/finance/withdrawRecords`,
    data
  })
}

/**
 * 申请提现
 */
export const withdrawApply = (data) => {
  return ajhttp({
    method: 'POST',
    url: `/system/finance/withdrawApply`,
    data
  })
}


